package com.ysh.smartplatform.exceptions;


/**
 * Created by Jackiechan on 2022/8/31 15:07
 *
 * @author Jackiechan
 * @version 1.0
 * @since 1.0
 */
public class MyBaseException extends RuntimeException {

    private int code;

    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
